package com.crocodileQ.blog.domain;

import com.crocodileQ.common.core.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.crocodileQ.common.annotation.Excel;

/**
 * 用户管理对象 blog_user
 * 
 * @author crocodilePole
 * @date 2025-04-03
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class BlogUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 用户名 */
    @Excel(name = "用户名")
    private String userName;

    /** 昵称 */
    @Excel(name = "昵称")
    private String nickName;

    /** 密码 */
    @Excel(name = "密码")
    private String password;


    /** 账号状态：0：正常 1：停用 */
    @Excel(name = "账号状态：0：正常 1：停用")
    private String status;

    /** 邮箱 */
    @Excel(name = "邮箱")
    private String email;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phoneNumber;

    /** 用户性别（0：男 1：女 2 ：未知） */
    @Excel(name = "用户性别", readConverterExp = "0=男,1=女,2=未知")
    private String sex;

    /** 头像 */
    @Excel(name = "头像")
    private String avatar;

    /** $column.columnComment */
    private Long delFlag;


}
